#include "Ray.h"

Ray::Ray()
{
	m_origin = D3DXVECTOR3(0.0f, 0.0f, 0.0f);
	m_direction = D3DXVECTOR3(1.0f, 0.0f, 0.0f);
}

Ray::Ray(const D3DXVECTOR3& orig, const D3DXVECTOR3& dir)
{
	m_origin = orig;
	m_direction = dir;
}

Ray::~Ray()
{

}

const D3DXVECTOR3& Ray::GetOrigin() const
{
	return m_origin;
}

const D3DXVECTOR3& Ray::GetDirection() const
{
	return m_direction;
}